/**
 * 呵护生活工作室
 * @author leuyiu.van
 * @date 2017年8月30日 上午11:36:46
 * @version 1.0
 */
package org.leuyius.app.colife.common.base.pojo;

import java.time.LocalDate;
import java.time.LocalDateTime;

import org.leuyius.app.colife.common.base.pojo.vo.BaseObject;

/**
 * Description: 用户基础对象<BR>
 *
 * @author leuyius.van
 * @company: 呵护生活工作室
 * @date 2017年8月30日 上午11:36:46
 * @version 1.0
 */
public class BaseUser extends BaseObject {

	@SuppressWarnings("unused")
	private String objId;
	private String username;
	private String nickname;
	private String avatar;
	private String fullName;
	private String pinyinname;
	private String gender;
	private LocalDate birthdate;
	private String mobile;
	private String email;
	private String address;
	private LocalDateTime registerDateTime;
	private String attr;

	/**
	 * 构造方法
	 */
	public BaseUser() {
	}

	/**
	 * 构造方法
	 * 
	 * @param objId
	 *            用户ID
	 * @param username
	 *            用户名
	 * @param nickname
	 *            用户昵称
	 * @param avatar
	 *            用户头像
	 * @param fullName
	 *            用户全名
	 * @param pinyinname
	 *            用户拼音名称
	 * @param gender
	 *            用户性别
	 * @param birthdate
	 *            用户生日
	 * @param mobile
	 *            用户手机号
	 * @param email
	 *            用户邮件
	 * @param address
	 *            用户地址
	 * @param registerDateTime
	 *            注册时间
	 * @param attr
	 *            其他属性
	 */
	public BaseUser(String objId, String username, String nickname, String avatar, String fullName, String pinyinname,
			String gender, LocalDate birthdate, String mobile, String email, String address, LocalDateTime registerDateTime,
			String attr) {
		super();
		this.objId = objId;
		this.username = username;
		this.nickname = nickname;
		this.avatar = avatar;
		this.fullName = fullName;
		this.pinyinname = pinyinname;
		this.gender = gender;
		this.birthdate = birthdate;
		this.mobile = mobile;
		this.email = email;
		this.address = address;
		this.registerDateTime = registerDateTime;
		this.attr = attr;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.leuyius.app.colife.common.base.pojo.BaseObj#getObjId()
	 */
	@Override
	public String getObjId() {
		return super.getObjId();
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.leuyius.app.colife.common.base.pojo.BaseObj#setObjId(java.lang.
	 * String)
	 */
	@Override
	public void setObjId(String objId) {
		super.setObjId(objId);
		this.objId = objId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getPinyinname() {
		return pinyinname;
	}

	public void setPinyinname(String pinyinname) {
		this.pinyinname = pinyinname;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public LocalDate getBirthdate() {
		return birthdate;
	}

	public void setBirthdate(LocalDate birthdate) {
		this.birthdate = birthdate;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public LocalDateTime getRegisterDateTime() {
		return registerDateTime;
	}

	public void setRegisterDateTime(LocalDateTime registerDateTime) {
		this.registerDateTime = registerDateTime;
	}

	public String getAttr() {
		return attr;
	}

	public void setAttr(String attr) {
		this.attr = attr;
	}

}
